package com.pet.shop.service.pet;

import com.pet.shop.entity.shop.*;
import com.pet.shop.service.IBaseService;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface IPetRelayService extends IBaseService<PetRelay>{

    /**
     *
     * @param topNum
     * @return
     */
    List<NoRelayDate> queryOrderByDate(Integer topNum);

    /**
     *
     * @param noRelayDate
     * @return
     */
    NoRelayDate insertNoRelayDate(NoRelayDate noRelayDate);

    /**
     *
     * @param relayDate
     * @return
     */
    NoRelayDate queryByNoRelayDate(Date relayDate);

    /**
     *
     * @param relayDate
     * @return
     */
    Boolean checkRelayDate(Date relayDate);

    /**
     *
     * @param id
     */
    void deleteNoRelayDate(Long id);
}
